#include<iostream>
using namespace std;
int main()
{
	char x;
	cin >> x;
	cout << "  " << x << endl << " " << x <<x<<x<< endl << x <<x<<x<<x<<x;
	return 0;
}